package com.byq.mcpanus.repository;

import com.byq.mcpanus.model.UserRole;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface UserRoleRepository extends JpaRepository<UserRole, Long> {
    List<UserRole> findByUserId(String userId);
    List<UserRole> findByRoleId(String roleId);
    void deleteByUserId(String userId);
    void deleteByRoleId(String roleId);
} 